import request from '@/utils/request';
let { VUE_APP_ADMIN_API } = process.env
export default {
    // 任务保存
    saveUnitModuleTask: data => request.post(`${VUE_APP_ADMIN_API}/unit/module/task/saveUnitModuleTask`, data),
    // 获取区域
    findListNoParentByParentCode: data => request.post(`${VUE_APP_ADMIN_API}/area/findListNoParentByParentCode`, data),
    // 任务集合
    findListByCondition: data => request.post(`${VUE_APP_ADMIN_API}/unit/module/task/findListByCondition`, data),
    // 删除
    deleteById: data => request.get(`${VUE_APP_ADMIN_API}/unit/module/task/deleteById`, data),
    // 消息保存
    saveUnitNoticeMessage: data => request.post(`${VUE_APP_ADMIN_API}/unit/notice/message/saveUnitNoticeMessage`, data),
    // 消息列表
    findListByConditionMessage: data => request.post(`${VUE_APP_ADMIN_API}/unit/notice/message/findListByCondition`, data),
    // 列表删除
    deleteByIdMessage: data => request.get(`${VUE_APP_ADMIN_API}/unit/notice/message/deleteById`, data),
}